#bt-viewer {
	width: 100%;
	height: 100%;
	display: block;
	margin: 10px;
	position: relative;
}

#bt-viewer .for-react,
#bt-viewer .for-svg {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: visible;
	padding: 10px;
}

/* React area over SVG area so hover effects work */
#bt-viewer .for-svg {
	z-index: 1;
}

#bt-viewer .for-react {
	z-index: 2;
}

.behavior-tree-view {
	position: relative;
}

.bt-node { 
	position: absolute;
}

.bt-node > .content {
	display: inline-block;
	padding: 5px 15px 6px 15px;
	border-radius: 5px;
	font-size: 16px;
	color: white;
	background: grey;
	box-shadow: 0 5px 5px rgba(0, 0, 0, .5);
}

.bt-status-in-progress > .content {
  background: blue;
}

.bt-status-failed > .content {
  background: red;
}

.bt-status-decayed-failed > .content {
  background: grey;
}

.bt-status-succeeded > .content {
  background: green;
}

.bt-status-decayed-succeeded > .content {
  background: grey;
}

.bt-status-interrupted > .content {
  background: purple;
}

.bt-status-entered > .content {
  background: blue;
}

.bt-status-never-entered > .content {
  background: dark-grey;
}

.bt-status-unknown > .content {
  background: orange;
}

.bt-node > .content > .glyphicon {
	text-align: center;
	padding-top: 4px;
	padding-bottom: 4px;
  	margin: 0 auto;
  	display: block;
}

.bt-node > .content > .name {
  	display: block;
	text-align: center;
	margin-bottom: 5px;
}

.bt-node > .content > .constants {
  	display: block;
	text-align: left;
	font-size: smaller;
}

.bt-node > .content > .constants > table {
	color: #eee;
	font-size: 12px;
	text-align: left;
}

.bt-node > .content > .constants td {
	padding-right: 10px;
}

.for-svg > svg {
	fill: none;
	fill-opacity: 1.0;
	stroke: darkslategray;
	stroke-opacity: 1.0;
	opacity: 1.0;
}
